public class IfElseSwitch {
    public static void main(String[] args) {
        int n = 5;

        String str = n +"对应的中文数字是：";

        switch (n){
            case 1:
                str += "壹";
                break;
            case 2:
                str += "贰";
                break;
            default:
                System.out.println(n);
        }
    }
}
